package com.indusfo.spc.service;

import com.indusfo.spc.pojo.Plan;
import com.indusfo.spc.vo.JSONObject;

/**
 * @author louk
 * @date 2019/10/22 9:33
 */
public interface PlanService {
    //新增
    JSONObject insertPlan(Plan plan);
    //更新
    JSONObject updatePlan(Plan plan);
    //查询
    JSONObject queryPlan(Plan plan);
    //删除/启用/停用
    JSONObject deletePlan(Integer[] ids,Integer lDataState,Integer[] lExecuteStateIds);
    //执行状态变更
    JSONObject lExecuteStateChange(Integer[] ids,Integer[] lExecuteStateIds,Integer lExecuteState);

    JSONObject getVersion(Integer lProduct);
    /**
     * @author: louk
     * @Description:excel导入的每个字段进行判断
     * @date: 2019/11/6 9:15
     *
     */
    String checkExcelContent(Plan plan);


}
